import React from 'react';

class World extends React.Component {
  state = {
    message: 'World'
  };

  render() {
    return <div>
      {this.state.message}
      <ul>
        <li>
          <a href="javascript:;" onClick={this.backHome}>back about</a>
        </li>
      </ul>
    </div>;
  }

  backHome = () => {
    this.props.$router.push({
      name: 'about'
    });
  }

  componentDidMount() {
  }
}

export default World;
